import com.bw.pojo.Student;

import java.sql.SQLException;
import java.util.List;

/***************************
 FileAction:

 CreateTime:2022-05-11 14:58
 Author:Aaking-aline
 ****************************/
public class StudentService {

	private StudentDao stuDao = new StudentDao();

	public List<Student> selectAllStudent() throws SQLException {

		// 这里可以加上事务管理

		List<Student> students = stuDao.selectAllStudent();

		return students;
	}

}
